package tree;


public class Node<V> {

    public Node<V> left;
    public Node<V> right;
    public V data;


    public Node(V newData) {
        data = newData;

    }

    public Node(V newData, Node<V> left, Node<V> right) {
        this.data = newData;
        this.left = left;
        this.right = right;

    }

}
